/********************************************************************************
** Form generated from reading UI file 'sparepart.ui'
**
** Created: Sat Jul 7 13:53:48 2012
**      by: Qt User Interface Compiler version 4.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_SPAREPART_H
#define UI_SPAREPART_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_SparePart
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *label;
    QGridLayout *gridLayout;
    QLabel *label_2;
    QLineEdit *spCodeText;
    QLabel *label_3;
    QLineEdit *spNameText;
    QLabel *label_4;
    QLineEdit *unitCostText;
    QLabel *label_5;
    QLineEdit *minCostText;
    QLabel *label_6;
    QLineEdit *maxCostText;
    QLabel *label_7;
    QLineEdit *descText;
    QSpacerItem *verticalSpacer;
    QHBoxLayout *horizontalLayout;
    QPushButton *clearButton;
    QSpacerItem *horizontalSpacer;
    QPushButton *okButton;
    QPushButton *cancelButton;

    void setupUi(QWidget *SparePart)
    {
        if (SparePart->objectName().isEmpty())
            SparePart->setObjectName(QString::fromUtf8("SparePart"));
        SparePart->resize(470, 290);
        verticalLayout = new QVBoxLayout(SparePart);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        label = new QLabel(SparePart);
        label->setObjectName(QString::fromUtf8("label"));
        label->setAlignment(Qt::AlignCenter);

        verticalLayout->addWidget(label);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_2 = new QLabel(SparePart);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label_2, 0, 0, 1, 1);

        spCodeText = new QLineEdit(SparePart);
        spCodeText->setObjectName(QString::fromUtf8("spCodeText"));

        gridLayout->addWidget(spCodeText, 0, 1, 1, 1);

        label_3 = new QLabel(SparePart);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label_3, 1, 0, 1, 1);

        spNameText = new QLineEdit(SparePart);
        spNameText->setObjectName(QString::fromUtf8("spNameText"));

        gridLayout->addWidget(spNameText, 1, 1, 1, 1);

        label_4 = new QLabel(SparePart);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label_4, 2, 0, 1, 1);

        unitCostText = new QLineEdit(SparePart);
        unitCostText->setObjectName(QString::fromUtf8("unitCostText"));

        gridLayout->addWidget(unitCostText, 2, 1, 1, 1);

        label_5 = new QLabel(SparePart);
        label_5->setObjectName(QString::fromUtf8("label_5"));
        label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label_5, 3, 0, 1, 1);

        minCostText = new QLineEdit(SparePart);
        minCostText->setObjectName(QString::fromUtf8("minCostText"));

        gridLayout->addWidget(minCostText, 3, 1, 1, 1);

        label_6 = new QLabel(SparePart);
        label_6->setObjectName(QString::fromUtf8("label_6"));
        label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label_6, 4, 0, 1, 1);

        maxCostText = new QLineEdit(SparePart);
        maxCostText->setObjectName(QString::fromUtf8("maxCostText"));

        gridLayout->addWidget(maxCostText, 4, 1, 1, 1);

        label_7 = new QLabel(SparePart);
        label_7->setObjectName(QString::fromUtf8("label_7"));
        label_7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label_7, 5, 0, 1, 1);

        descText = new QLineEdit(SparePart);
        descText->setObjectName(QString::fromUtf8("descText"));

        gridLayout->addWidget(descText, 5, 1, 1, 1);


        verticalLayout->addLayout(gridLayout);

        verticalSpacer = new QSpacerItem(20, 18, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        clearButton = new QPushButton(SparePart);
        clearButton->setObjectName(QString::fromUtf8("clearButton"));

        horizontalLayout->addWidget(clearButton);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        okButton = new QPushButton(SparePart);
        okButton->setObjectName(QString::fromUtf8("okButton"));

        horizontalLayout->addWidget(okButton);

        cancelButton = new QPushButton(SparePart);
        cancelButton->setObjectName(QString::fromUtf8("cancelButton"));

        horizontalLayout->addWidget(cancelButton);


        verticalLayout->addLayout(horizontalLayout);


        retranslateUi(SparePart);
        QObject::connect(cancelButton, SIGNAL(clicked()), SparePart, SLOT(close()));

        QMetaObject::connectSlotsByName(SparePart);
    } // setupUi

    void retranslateUi(QWidget *SparePart)
    {
        SparePart->setWindowTitle(QApplication::translate("SparePart", "Spare Part Registration", 0, QApplication::UnicodeUTF8));
        label->setText(QApplication::translate("SparePart", "Spare Part Registration", 0, QApplication::UnicodeUTF8));
        label_2->setText(QApplication::translate("SparePart", "SP Code : ", 0, QApplication::UnicodeUTF8));
        label_3->setText(QApplication::translate("SparePart", "SP Name : ", 0, QApplication::UnicodeUTF8));
        label_4->setText(QApplication::translate("SparePart", "Unit Cost : ", 0, QApplication::UnicodeUTF8));
        label_5->setText(QApplication::translate("SparePart", "Min Cost : ", 0, QApplication::UnicodeUTF8));
        label_6->setText(QApplication::translate("SparePart", "Max Cost : ", 0, QApplication::UnicodeUTF8));
        label_7->setText(QApplication::translate("SparePart", "Description : ", 0, QApplication::UnicodeUTF8));
        clearButton->setText(QApplication::translate("SparePart", "Clear", 0, QApplication::UnicodeUTF8));
        okButton->setText(QApplication::translate("SparePart", "OK", 0, QApplication::UnicodeUTF8));
        cancelButton->setText(QApplication::translate("SparePart", "Cancel", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class SparePart: public Ui_SparePart {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_SPAREPART_H
